package org.example.viteVantDemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;

@Data
@TableName("t_user")
public class UserInfo {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String unionId;

    private String name;

    private String avatar;

    private Integer version;

    private LocalDateTime createTime;

    /**
     * 0:初始化 1:在线
     */
    private Integer status;
}